﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Register.ascx.cs" Inherits="UserControls_Register" %>
<div class="row margin-bottom-10px">

    <!-- 1/2 page width -->
    <div class="six columns">

        <div class="message-box error" runat="server" id="errorBox">
            <asp:ValidationSummary ID="validationSummary" runat="server" ValidationGroup="CreateUser" EnableClientScript="False" />
            <asp:Label ID="lblTerms" runat="server"></asp:Label>
        </div>

        <div class="form">
            <asp:Label ID="lblFirstName" runat="server" Text="Fornavn" Font-Bold="True"></asp:Label>
            <asp:RequiredFieldValidator ID="validatorFirstName" runat="server" ControlToValidate="txtFirstName"
                ErrorMessage="Indtast fornavn" ToolTip="Indtast fornavn" ValidationGroup="CreateUser" EnableClientScript="False" ForeColor="#E95A5A">&nbsp;</asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="regexFirstName" runat="server" ErrorMessage="Indtast fornavn" ValidationExpression="^[a-zA-Z''-'\s]{1,40}$" EnableClientScript="False" ValidationGroup="CreateUser" ControlToValidate="txtFirstName">&nbsp;</asp:RegularExpressionValidator>
            <asp:TextBox ID="txtFirstName" runat="server" Width="80%"></asp:TextBox>
        </div>

        <div class="form">
            <asp:Label ID="lblLastName" runat="server" Text="Efternavn" Font-Bold="True"></asp:Label>
            <asp:RequiredFieldValidator ID="validatorLastName" runat="server" ControlToValidate="txtLastName"
                ErrorMessage="Indtast efternavn" ToolTip="Indtast efternavn" ValidationGroup="CreateUser" EnableClientScript="False" ForeColor="#E95A5A">&nbsp;</asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="regexLastName" runat="server" ErrorMessage="Indtast efternavn" ValidationExpression="^[a-zA-Z''-'\s]{1,40}$" EnableClientScript="False" ValidationGroup="CreateUser" ControlToValidate="txtLastName">&nbsp;</asp:RegularExpressionValidator>
            <asp:TextBox ID="txtLastName" runat="server" Width="80%"></asp:TextBox>
        </div>

        <div class="form">
            <asp:Label ID="lblEmail" runat="server" Text="E-mail" Font-Bold="True"></asp:Label>
            <asp:RequiredFieldValidator ID="validatorEmail" runat="server" ControlToValidate="txtEmail"
                ErrorMessage="Indtast e-mail" ToolTip="Indtast e-mail" ValidationGroup="CreateUser" EnableClientScript="False" ForeColor="#E95A5A">&nbsp;</asp:RequiredFieldValidator>
            <asp:TextBox ID="txtEmail" runat="server" Width="80%"></asp:TextBox>
        </div>

        <div class="form">
            <asp:Label ID="lblPass" runat="server" Text="Adgangskode" Font-Bold="True"></asp:Label>
            <asp:RequiredFieldValidator ID="validatorPass" runat="server" ControlToValidate="txtPass"
                ErrorMessage="Indtast adgangskode" ToolTip="Indtast adgangskode" ValidationGroup="CreateUser" EnableClientScript="False" ForeColor="#E95A5A">&nbsp;</asp:RequiredFieldValidator>
            <asp:TextBox ID="txtPass" runat="server" TextMode="Password" Width="80%"></asp:TextBox>
        </div>

        <div class="form">
            <asp:Label ID="lblConfirmPass" runat="server" Text="Gentag adgangskode" Font-Bold="True"></asp:Label>
            <asp:RequiredFieldValidator ID="validatorConfirmPass" runat="server" ControlToValidate="txtConfirmPass"
                ErrorMessage="Gentag adgangskode" ToolTip="Gentag adgangskode"
                ValidationGroup="CreateUser" EnableClientScript="False" ForeColor="#E95A5A">&nbsp;</asp:RequiredFieldValidator>
            <asp:TextBox ID="txtConfirmPass" runat="server" TextMode="Password" Width="80%"></asp:TextBox>
        </div>

        <div class="form">
            <asp:CheckBox ID="chbAccept" runat="server" Text="Jeg har læst og accepterer " />
            <asp:HyperLink ID="linkTerms" runat="server" CssClass="fancybox fancybox.iframe" NavigateUrl="/Konto/Opret-bruger/Betingelser">betingelserne</asp:HyperLink>
        </div>
        <br />
        <asp:Button ID="btnSubmit" runat="server" Text="Opret" OnClick="btnSubmit_Click" ValidationGroup="CreateUser" />
    </div>

    <!-- 1/2 page width -->
    <div class="six columns">
        <div class="pricing-table one-col clearfix">

            <!-- table column featured -->
            <div class="table-column featured">
                <div class="header">
                    <h5 class="title">Årligt abonnement</h5>
                    <span class="description">Normal pris</span>
                    <h2 class="price">399 kr.</h2>
                </div>
    <%--            <ul class="features body-font-size">
                    <li data-tooltip="Der betales 2 år forud">Fuld adgang til alle analyser i 2 år</li>
                    <li data-tooltip="Analyser fra hele verden">Over 900 aktieanalyser</li>
                </ul>--%>
                <div class="footer">
                    <asp:RadioButton ID="RadioButton1" runat="server" Text="Vælg" />
                </div>
            </div>
            <!-- end column -->


        </div>
        <!-- end Table -->
         <div class="pricing-table one-col clearfix">

            <!-- table column featured -->
            <div class="table-column featured">
                <div class="header">
                    <h5 class="title">2-årigt abonnement</h5>
                    <span class="description">Du sparer 10%</span>
                    <h2 class="price">675 kr.</h2>
                </div>
    <%--            <ul class="features body-font-size">
                    <li data-tooltip="Der betales 2 år forud">Fuld adgang til alle analyser i 2 år</li>
                    <li data-tooltip="Analyser fra hele verden">Over 900 aktieanalyser</li>
                </ul>--%>
                <div class="footer">
                    <asp:RadioButton ID="RadioButton2" runat="server" Text="Vælg" />
                </div>
            </div>
            <!-- end column -->


        </div>
        <!-- end Table -->
         <div class="pricing-table one-col clearfix">

            <!-- table column featured -->
            <div class="table-column featured">
                <div class="header">
                    <h5 class="title">3-årigt abonnement</h5>
                    <span class="description">Du sparer 25%</span>
                    <h2 class="price">895 kr.</h2>
                </div>
    <%--            <ul class="features body-font-size">
                    <li data-tooltip="Der betales 2 år forud">Fuld adgang til alle analyser i 2 år</li>
                    <li data-tooltip="Analyser fra hele verden">Over 900 aktieanalyser</li>
                </ul>--%>
                <div class="footer">
                    <asp:RadioButton ID="RadioButton3" runat="server" Text="Vælg" />
                </div>
            </div>
            <!-- end column -->


        </div>
        <!-- end Table -->

    </div>

</div>


